<script setup lang="ts">
import {Empty,Button} from 'vant'
import { useRouter } from "vue-router"
let router = useRouter()
let returnHome = () =>router.push({ path: "/" })
</script>

<template>
 <Empty description="404错误" image="/static/null.png">
     <Button plain type="primary" size="small" @click="returnHome">返回首页</Button>
 </Empty>
</template>

<style scoped>
</style>